﻿using SqlSugar;
using System;

namespace WebApi.Model
{
    [SugarTable("t_RegisterInfo")]
    public class RegisterInfo
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; } = -1;
        /// <summary>
        /// IC卡号
        /// </summary>
        public string ICardNum { get; set; }
        /// <summary>
        /// 人员姓名
        /// </summary>
        public string RegName { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdentityNum { get; set; }
        /// <summary>
        /// 操作类型：入场装货、入场卸货、
        /// </summary>
        public int OpType { get; set; }
        /// <summary>
        /// 发货单位Id
        /// 日期：2023年1月6日--去掉未使用
        /// </summary>
        public int CompanyId { get; set; }
        /// <summary>
        /// 发货单位
        /// </summary>
        public string Company { get; set; }
        /// <summary>
        /// 领卡时间	
        /// </summary>
        public DateTime ReceiveTime { get; set; }
        /// <summary>
        /// 还卡时间
        /// </summary>
        public DateTime ReturnTime { get; set; }
        /// <summary>
        /// 货物名字
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 硫酸备案号
        /// </summary>
        public string YNumber { get; set; }
        /// <summary>
        /// IC卡状态：-1损坏禁用、0未使用、1制卡录入信息、2出厂已归还
        /// </summary>
        public int CardStatus { get; set; }
        /// <summary>
        /// 位置（装卸货）
        /// </summary>
        public string Position { get; set; }
        /// <summary>
        /// 唯一识别号
        /// </summary>
        public string Guid { get; set; }
        /// <summary>
        ///车牌号
        /// </summary>
        public string Plate { get; set; }

        #region 新增加修改的字段2022-07-06
        /// <summary>
        /// 收货单位
        /// </summary>
        public string Revicer { get; set; }
        /// <summary>
        /// 运输单位
        /// </summary>
        public string Transporter { get; set; }

        /// <summary>
        ///司机手机号
        /// </summary>
        public string RegPhone { get; set; }

        /// <summary>
        /// 发货皮重kg
        /// </summary>
        public int? SenderTare { get; set; }
        /// <summary>
        /// 发货毛重kg
        /// </summary>
        public int? SenderGross { get; set; }
        /// <summary>
        /// 发货净重
        /// </summary>
        public int? SenderNet { get; set; }

        /// <summary>
        /// 随车人员
        /// </summary>
        public string DriverName2 { get; set; }
        /// <summary>
        /// 人员手机
        /// </summary>
        public string DriverPhone2 { get; set; }
        /// <summary>
        /// 件数
        /// </summary>
        public int? iCount { get; set; }

        /// <summary>
        /// 卡类型：1入厂货物、2出厂货物、3厂内流转货物 
        /// </summary>
        public int? CardType { get; set; }
        #endregion

        public string Value1 { get; set; }
        public string Value2 { get; set; }
        public string Value3 { get; set; }
        public string Value4 { get; set; }
        public string Value5 { get; set; }
        public string Value6 { get; set; }
    }
}